Skip to content

Conversation

jbrockmendel
Copy link
Member

Partially addresses #19513.

After this, CategoricalIndex will be defining comparison ops identically to DTA/TDA/PA, could share some code.

@gfyoung gfyoung added API Design Categorical Categorical Data Type Numeric Operations Arithmetic, Comparison, and Logical operations labels Aug 6, 2019
@jreback
Copy link
Contributor

jreback commented Aug 7, 2019

looks fine; are the added paths hit in coverage? e.g. do we need any additional tests?

@jreback jreback added this to the 1.0 milestone Aug 7, 2019
@jbrockmendel
Copy link
Member Author

The new paths are all hit, yes.

@jreback jreback merged commit 3e4b196 into pandas-dev:master Aug 13, 2019
@jreback
Copy link
Contributor

jreback commented Aug 13, 2019

thanks @jbrockmendel

@jbrockmendel jbrockmendel deleted the cat2 branch August 13, 2019 13:58
elif (
is_list_like(other)
and len(other) != len(self)
and not isinstance(other, (set, frozenset))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jbrockmendel maybe by accident due to several PRs that were related / rebase after each other, but this seemingly introduced again what you removed in #27873 (although the other PR was merged later ..)

No matter how it happened ;), the check is still in master ..

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yah this looks like a rebase screwup, will address

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Design Categorical Categorical Data Type Numeric Operations Arithmetic, Comparison, and Logical operations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants